package com.dc.ebond3.dao;

import java.util.Date;

/**
 * TbAudit entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbAudit implements java.io.Serializable {

	// Fields

	private Long id;
	private String mastername;
	private String slavename;
	private String adminname;
	private Date logintime;
	private Date logouttime;
	private Long loginstate;
	private String department;
	private String loginurl;
	private String logtype;
	private String admintype;

	// Constructors

	/** default constructor */
	public TbAudit() {
	}

	/** minimal constructor */
	public TbAudit(Date logintime) {
		this.logintime = logintime;
	}

	/** full constructor */
	public TbAudit(String mastername, String slavename, String adminname,
			Date logintime, Date logouttime, Long loginstate,
			String department, String loginurl, String logtype, String admintype) {
		this.mastername = mastername;
		this.slavename = slavename;
		this.adminname = adminname;
		this.logintime = logintime;
		this.logouttime = logouttime;
		this.loginstate = loginstate;
		this.department = department;
		this.loginurl = loginurl;
		this.logtype = logtype;
		this.admintype = admintype;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMastername() {
		return this.mastername;
	}

	public void setMastername(String mastername) {
		this.mastername = mastername;
	}

	public String getSlavename() {
		return this.slavename;
	}

	public void setSlavename(String slavename) {
		this.slavename = slavename;
	}

	public String getAdminname() {
		return this.adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public Date getLogintime() {
		return this.logintime;
	}

	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}

	public Date getLogouttime() {
		return this.logouttime;
	}

	public void setLogouttime(Date logouttime) {
		this.logouttime = logouttime;
	}

	public Long getLoginstate() {
		return this.loginstate;
	}

	public void setLoginstate(Long loginstate) {
		this.loginstate = loginstate;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getLoginurl() {
		return this.loginurl;
	}

	public void setLoginurl(String loginurl) {
		this.loginurl = loginurl;
	}

	public String getLogtype() {
		return this.logtype;
	}

	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	public String getAdmintype() {
		return this.admintype;
	}

	public void setAdmintype(String admintype) {
		this.admintype = admintype;
	}

}